package com.record.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.record.dao.FutureProductInfoMapper;
import com.record.entity.FutureProductInfo;
import com.record.service.FutureProductInfoService;
@Service
public class FutureProductInfoServiceImpl implements FutureProductInfoService {

	@Resource
	private FutureProductInfoMapper futureProductInfoMapper;
	
	public FutureProductInfo selectByPrimaryKey(int id) {
		return futureProductInfoMapper.selectByPrimaryKey(id);
	}

	public List<FutureProductInfo> selectListByfarmerId(int farmerId) {
		return futureProductInfoMapper.selectListByfarmerId(farmerId);
	}

}
